package tom.spring.cloud.gateway.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;


/**
 * zuul网关使用，服务路由/zuul过滤器/路径映射/错误处理
 * @author ZHUFEIFEI
 */
@EnableZuulProxy
@EnableDiscoveryClient
@SpringBootApplication
public class Zuul01Application {
    public static void main(String[] args) {
        SpringApplication.run(Zuul01Application.class, args);
    }
}
